package com.bw.user_module.reset;

import android.os.Bundle;

import androidx.annotation.Nullable;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.bw.common.mvvm.view.BaseActivity;
import com.bw.user_module.BR;
import com.bw.user_module.R;
import com.bw.user_module.databinding.ActivityResetpwdBinding;
@Route(path = "/user/resetactivity")
public class ResetActivity extends BaseActivity<ActivityResetpwdBinding,ResetViewModel> {

    @Override
    public int bindLayout() {
        return R.layout.activity_resetpwd;
    }

    @Override
    public int vrId() {
        return BR.vm;
    }

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //获取找回密码界面传递过来的手机号码->
        //设置手机号到viewmodel中作为请求重置密码参数
        String phone = getIntent().getBundleExtra("bundle").getString("phone");
        vm.phone = phone;
    }
}
